package com.xmall.order.service.platform;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmall.order.define.dto.platform.OrderDtoForFront;
import com.xmall.order.define.dto.platform.OrderNumStatistics;
import com.xmall.order.define.request.query.FrontOrderListPageQueryRequest;

public interface IOrderFrontService {

    /**
     * 详情
     */
    OrderDtoForFront info(Long id);

    /**
     * 详情
     */
    OrderDtoForFront infoByOrderSn(String orderSn);

    /**
     * 分页列表
     */
    Page<OrderDtoForFront> listPage(FrontOrderListPageQueryRequest request);

    /**
     * 不同状态订单数量
     */
    OrderNumStatistics orderNumStatistics(Long memberId);
}
